#pragma once
#include "DataStructure/Common/Id.h"
#include "DataStructure/Common/Real.h"

SG_DATASTRUCTURE_POST_NAMESPACE_OPEN

struct EIGENVALUEData
{
    SG::DataStructure::Common::I64  m_MODE     = 0;    ///<
    SG::DataStructure::Common::I64  m_ORDER    = 0;    ///<
    SG::DataStructure::Common::Real m_EIGEN    = 0.0;  ///<
    SG::DataStructure::Common::Real m_OMEGA    = 0.0;  ///<
    SG::DataStructure::Common::Real m_FREQ     = 0.0;  ///<
    SG::DataStructure::Common::Real m_MASS     = 0.0;  ///<
    SG::DataStructure::Common::Real m_STIFF    = 0.0;  ///<
    SG::DataStructure::Common::I64  m_RESFLG   = 0;    ///<
    SG::DataStructure::Common::I64  m_FLDFLG   = 0;    ///<
    SG::DataStructure::Common::Id   m_domainId = 0;    ///< Domain identifier
};

DECLSPEC bool operator< (const EIGENVALUEData& val1, const EIGENVALUEData& val2);

///< @brief 判断数据是否相等
DECLSPEC bool operator== (const EIGENVALUEData& val1, const EIGENVALUEData& val2);

SG_DATASTRUCTURE_POST_NAMESPACE_CLOSE
